package cn.com.inossem.base;
/**
 * 
 * 异常处理接口
 *
 * <p>detailed comment
 * @author wuyt3 2014-7-5
 * @see
 * @since 1.0
 */
public interface ExceptionHandler {
	public static final int EXCEPTION_NONE = 0;
	public static final int EXCEPTION_TYPE_NETWORK = 10;
	public static final int EXCEPTION_TYPE_DATA = 20;
	public static final int EXCEPTION_TYPE_AUTH = 30;
	public static final int EXCEPTION_TYPE_SERVER_NO_RESPONSE = 40;
	public static final int EXCEPTION_TYPE_EMPTY_RESULT = 50;
	public static final int EXCEPTION_TYPE_CUSTOM_BASE = 10000;

	public void handleException(int exceptionType);
}
